package com.clkj.zhonghui.dao.stored;


import com.clkj.zhonghui.pojo.stored.Version;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;


/**
 * @Author：周佳润
 * @Date：2024/7/25 上午10:23
 */
@Repository
public interface VersionMapper extends Mapper<Version> {

    @Select("SELECT TOP 1 * FROM t_zh_version ORDER BY version_id DESC")
    List<Version> listNewVer();

    @Select("SELECT * FROM t_zh_version ORDER BY version_id DESC")
    List<Version> listVer();
}
